#include<bits/stdc++.h>
using namespace std;
#include"stack.h"
#include"queue.h"
#include"priority.h"
int main() {
	wc::priority_queue<int> myst;

	for (int i = 0; i < 5; i++) {
		myst.push(i*10);
	}
	while (myst.size()) {
		cout << myst.top() << endl;
		myst.pop();
	}
}